M

PathOfTravel.CreateMultiple

Description:
Creates multiple new paths of travel between same size sets of start and end points.
Remarks:
InvalidOperationException is thrown if PathOfTravel cannot be created for the following conditions:
  • View has crop box active and crop box is split
  • View model outline area is larger than the current limit (2,000,000 sq.ft.)
  • View export contains too much geometry (more than 200,000 lines)
ArgumentException exception is thrown if arrays of start and end points are of different size or if the total number of paths of travel attempted to be created is more than maximum allowed (50000).
Overloads (2):
CreateMultiple(View,IList[XYZ],IList[XYZ])
public static IList<PathOfTravel> CreateMultiple(
	View DBView,
	IList<XYZ> pathStarts,
	IList<XYZ> pathEnds
)
Return Value nullNothingnullptr The array of newly created path of travel elements, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if no path between the two points is found. The order of elements corresponds to the order of start/end points in the argument arrays. There are some additional conditions that are checked and if any condition is true the null Nothing nullptr a null reference ( Nothing in Visual Basic) value is returned: View has crop box active and start or end point lies outside of the crop Start and end points are too close